//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.carhailing.common.response;


import com.alibaba.fastjson.annotation.JSONField;

public class LiveResponse {
    private String msg;
    private Boolean success;
    private Integer code;
    private DataDTO data;

    public LiveResponse() {
    }

    public String getMsg() {
        return this.msg;
    }

    public Boolean getSuccess() {
        return this.success;
    }

    public Integer getCode() {
        return this.code;
    }

    public DataDTO getData() {
        return this.data;
    }

    public void setMsg(final String msg) {
        this.msg = msg;
    }

    public void setSuccess(final Boolean success) {
        this.success = success;
    }

    public void setCode(final Integer code) {
        this.code = code;
    }

    public void setData(final DataDTO data) {
        this.data = data;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveResponse)) {
            return false;
        } else {
            LiveResponse other = (LiveResponse)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label59: {
                    Object this$success = this.getSuccess();
                    Object other$success = other.getSuccess();
                    if (this$success == null) {
                        if (other$success == null) {
                            break label59;
                        }
                    } else if (this$success.equals(other$success)) {
                        break label59;
                    }

                    return false;
                }

                Object this$code = this.getCode();
                Object other$code = other.getCode();
                if (this$code == null) {
                    if (other$code != null) {
                        return false;
                    }
                } else if (!this$code.equals(other$code)) {
                    return false;
                }

                Object this$msg = this.getMsg();
                Object other$msg = other.getMsg();
                if (this$msg == null) {
                    if (other$msg != null) {
                        return false;
                    }
                } else if (!this$msg.equals(other$msg)) {
                    return false;
                }

                Object this$data = this.getData();
                Object other$data = other.getData();
                if (this$data == null) {
                    if (other$data != null) {
                        return false;
                    }
                } else if (!this$data.equals(other$data)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveResponse;
    }

    public int hashCode() {

        int result = 1;
        Object $success = this.getSuccess();
        result = result * 59 + ($success == null ? 43 : $success.hashCode());
        Object $code = this.getCode();
        result = result * 59 + ($code == null ? 43 : $code.hashCode());
        Object $msg = this.getMsg();
        result = result * 59 + ($msg == null ? 43 : $msg.hashCode());
        Object $data = this.getData();
        result = result * 59 + ($data == null ? 43 : $data.hashCode());
        return result;
    }

    public String toString() {
        return "LiveResponse(msg=" + this.getMsg() + ", success=" + this.getSuccess() + ", code=" + this.getCode() + ", data=" + this.getData() + ")";
    }

    public static class DataDTO {
        @JSONField(
                name = "order_no"
        )
        private String orderNo;
        private MotionsDTO motions;
        private Boolean passed;
        @JSONField(
                name = "feature_image_id"
        )
        private String featureImageId;
        @JSONField(
                name = "hack_score"
        )
        private Double hackScore;

        public DataDTO() {
        }

        public String getOrderNo() {
            return this.orderNo;
        }

        public MotionsDTO getMotions() {
            return this.motions;
        }

        public Boolean getPassed() {
            return this.passed;
        }

        public String getFeatureImageId() {
            return this.featureImageId;
        }

        public Double getHackScore() {
            return this.hackScore;
        }

        public void setOrderNo(final String orderNo) {
            this.orderNo = orderNo;
        }

        public void setMotions(final MotionsDTO motions) {
            this.motions = motions;
        }

        public void setPassed(final Boolean passed) {
            this.passed = passed;
        }

        public void setFeatureImageId(final String featureImageId) {
            this.featureImageId = featureImageId;
        }

        public void setHackScore(final Double hackScore) {
            this.hackScore = hackScore;
        }

        public boolean equals(final Object o) {
            if (o == this) {
                return true;
            } else if (!(o instanceof DataDTO)) {
                return false;
            } else {
                DataDTO other = (DataDTO)o;
                if (!other.canEqual(this)) {
                    return false;
                } else {
                    label71: {
                        Object this$passed = this.getPassed();
                        Object other$passed = other.getPassed();
                        if (this$passed == null) {
                            if (other$passed == null) {
                                break label71;
                            }
                        } else if (this$passed.equals(other$passed)) {
                            break label71;
                        }

                        return false;
                    }

                    Object this$hackScore = this.getHackScore();
                    Object other$hackScore = other.getHackScore();
                    if (this$hackScore == null) {
                        if (other$hackScore != null) {
                            return false;
                        }
                    } else if (!this$hackScore.equals(other$hackScore)) {
                        return false;
                    }

                    label57: {
                        Object this$orderNo = this.getOrderNo();
                        Object other$orderNo = other.getOrderNo();
                        if (this$orderNo == null) {
                            if (other$orderNo == null) {
                                break label57;
                            }
                        } else if (this$orderNo.equals(other$orderNo)) {
                            break label57;
                        }

                        return false;
                    }

                    Object this$motions = this.getMotions();
                    Object other$motions = other.getMotions();
                    if (this$motions == null) {
                        if (other$motions != null) {
                            return false;
                        }
                    } else if (!this$motions.equals(other$motions)) {
                        return false;
                    }

                    Object this$featureImageId = this.getFeatureImageId();
                    Object other$featureImageId = other.getFeatureImageId();
                    if (this$featureImageId == null) {
                        if (other$featureImageId == null) {
                            return true;
                        }
                    } else if (this$featureImageId.equals(other$featureImageId)) {
                        return true;
                    }

                    return false;
                }
            }
        }

        protected boolean canEqual(final Object other) {
            return other instanceof DataDTO;
        }

        public int hashCode() {

            int result = 1;
            Object $passed = this.getPassed();
            result = result * 59 + ($passed == null ? 43 : $passed.hashCode());
            Object $hackScore = this.getHackScore();
            result = result * 59 + ($hackScore == null ? 43 : $hackScore.hashCode());
            Object $orderNo = this.getOrderNo();
            result = result * 59 + ($orderNo == null ? 43 : $orderNo.hashCode());
            Object $motions = this.getMotions();
            result = result * 59 + ($motions == null ? 43 : $motions.hashCode());
            Object $featureImageId = this.getFeatureImageId();
            result = result * 59 + ($featureImageId == null ? 43 : $featureImageId.hashCode());
            return result;
        }

        public String toString() {
            return "LiveResponse.DataDTO(orderNo=" + this.getOrderNo() + ", motions=" + this.getMotions() + ", passed=" + this.getPassed() + ", featureImageId=" + this.getFeatureImageId() + ", hackScore=" + this.getHackScore() + ")";
        }

        public static class MotionsDTO {
            private Double score;
            private String motion;
            private Boolean passed;

            public MotionsDTO() {
            }

            public Double getScore() {
                return this.score;
            }

            public String getMotion() {
                return this.motion;
            }

            public Boolean getPassed() {
                return this.passed;
            }

            public void setScore(final Double score) {
                this.score = score;
            }

            public void setMotion(final String motion) {
                this.motion = motion;
            }

            public void setPassed(final Boolean passed) {
                this.passed = passed;
            }

            public boolean equals(final Object o) {
                if (o == this) {
                    return true;
                } else if (!(o instanceof MotionsDTO)) {
                    return false;
                } else {
                    MotionsDTO other = (MotionsDTO)o;
                    if (!other.canEqual(this)) {
                        return false;
                    } else {
                        label47: {
                            Object this$score = this.getScore();
                            Object other$score = other.getScore();
                            if (this$score == null) {
                                if (other$score == null) {
                                    break label47;
                                }
                            } else if (this$score.equals(other$score)) {
                                break label47;
                            }

                            return false;
                        }

                        Object this$passed = this.getPassed();
                        Object other$passed = other.getPassed();
                        if (this$passed == null) {
                            if (other$passed != null) {
                                return false;
                            }
                        } else if (!this$passed.equals(other$passed)) {
                            return false;
                        }

                        Object this$motion = this.getMotion();
                        Object other$motion = other.getMotion();
                        if (this$motion == null) {
                            if (other$motion != null) {
                                return false;
                            }
                        } else if (!this$motion.equals(other$motion)) {
                            return false;
                        }

                        return true;
                    }
                }
            }

            protected boolean canEqual(final Object other) {
                return other instanceof MotionsDTO;
            }

            public int hashCode() {

                int result = 1;
                Object $score = this.getScore();
                result = result * 59 + ($score == null ? 43 : $score.hashCode());
                Object $passed = this.getPassed();
                result = result * 59 + ($passed == null ? 43 : $passed.hashCode());
                Object $motion = this.getMotion();
                result = result * 59 + ($motion == null ? 43 : $motion.hashCode());
                return result;
            }

            public String toString() {
                return "LiveResponse.DataDTO.MotionsDTO(score=" + this.getScore() + ", motion=" + this.getMotion() + ", passed=" + this.getPassed() + ")";
            }
        }
    }
}
